package llvmir.type;

public class IntArrayType extends Type {
    private int size;

    public IntArrayType(int size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "[" + size + " x i32]";
    }

    @Override
    public int getSize() {
        return 4 * size;
    }

}
